# $FreeBSD$


PORTNAME=	zeitgeist-datahub
PORTVERSION=	0.8.2
CATEGORIES=	deskutils
MASTER_SITES=	https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Zeitgeist data provider

BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	zeitgeist-1:${PORTSDIR}/sysutils/libzeitgeist

FETCH_ARGS=	-p

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack glib20 gtk20 intltool intlhack
USE_GETTEXT=	yes
USE_PKGCONFIG=	build

OPTIONS_DEFINE=	XDG
XDG_DESC=	Monitor XDG_DOWLOAD_DIR

MAN1=	zeitgeist-datahub.1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MXDG}
RUN_DEPENDS=	xdg-user-dir:${PORTSDIR}/devel/xdg-user-dir
CONFIGURE_ARGS+=--enable-downloads-monitor
.else
CONFIGURE_ARGS+=--disable-downloads-monitor
.endif

.include <bsd.port.mk>
